package adapter

import (
	"gitee.com/liuxuezhan/ar-platform/pay-channel-packet/payClient/dto"
	"gitee.com/liuxuezhan/ar-platform/pay-channel-packet/payClient/interfaceP"
)

func GenProductor(channel dto.ChannelCode) interfaceP.AdapterInterface {
	switch channel {
	case dto.Hkp:
		return NewHkpAdapter()
	default:
		return NewDefaultAdapter()
	}
}
